/**
 * output package name
 */
package com.kingdee.eas.custom.hr.attendance;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.IntEnum;

/**
 * output class name
 */
public class HitCardTypeEnum extends IntEnum
{
    public static final int IN_VALUE = 1;
    public static final int OUT_VALUE = 2;

    public static final HitCardTypeEnum IN = new HitCardTypeEnum("IN", IN_VALUE);
    public static final HitCardTypeEnum OUT = new HitCardTypeEnum("OUT", OUT_VALUE);

    /**
     * construct function
     * @param integer hitCardTypeEnum
     */
    private HitCardTypeEnum(String name, int hitCardTypeEnum)
    {
        super(name, hitCardTypeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static HitCardTypeEnum getEnum(String hitCardTypeEnum)
    {
        return (HitCardTypeEnum)getEnum(HitCardTypeEnum.class, hitCardTypeEnum);
    }

    /**
     * getEnum function
     * @param String arguments
     */
    public static HitCardTypeEnum getEnum(int hitCardTypeEnum)
    {
        return (HitCardTypeEnum)getEnum(HitCardTypeEnum.class, hitCardTypeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(HitCardTypeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(HitCardTypeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(HitCardTypeEnum.class);
    }
}